import { ref } from "vue";

export function useVisible() {
  const visible = ref(false);
  const trigger = () => {
    visible.value = !visible.value;
  };
  return {
    visible,
    trigger,
  };
}

export default useVisible;
